package zxs.sino.elite.hub.model.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 文章缓存对象（MongoDB）
 *
 * @author zhang
 * @date 2025-07-06 10:27:17
 */
@Data
@Document(collation = "article")
public class ArticleMongoEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 文章编号
     */
    @Id
    private Long articleId;

    /**
     * 文章内容
     */
    private String content;
}